package com.zhiyou100.util;

import java.text.SimpleDateFormat;

public class myTask {

	public String myTaskMethod() {
		
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy年MM月dd日 HH:mm:ss");
		long time = System.currentTimeMillis();
		String format = sdf.format(time);
		System.out.println(format +"定时任务在执行 .. ");
		
//		response.setHeader("refresh","5;url=https://blog.csdn.net/qq_41901915")
		System.out.println("检测定时调度器状态");
		return "/admin/index";
		
	}
	
}
